package com.access.boot.autoconfigure.apisdk.proxy;

import java.lang.reflect.Method;

/**
 * @author Yangzhen
 * @date 2022/6/13 10:13
 * @since 1.0.0
 */
public class MethodWrapper {

    private Method method;

    private boolean autoType;

    public MethodWrapper(Method method, boolean autoType) {
        this.method = method;
        this.autoType = autoType;
    }

    public Method getMethod() {
        return method;
    }

    public boolean isAutoType() {
        return autoType;
    }

    @Override
    public String toString() {
        return "MethodWrapper{" +
                "method=" + method +
                ", autoType=" + autoType +
                '}';
    }
}
